FROM openjdk:8-jdk

# Copy local code to the container image.
WORKDIR /app/
COPY target/yunji-backend-0.0.1-SNAPSHOT.jar /app/


# Run the web service on container startup.
CMD ["java","-jar","/app/yunji-backend-0.0.1-SNAPSHOT.jar","--spring.profiles.active=prod"]
